projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e57566
)
Warn if attempting to read tracks or routes into xcsv.
author
robertl
<robertl>
Fri, 1 Oct 2004 03:29:23 +0000
(
03:29
+0000)
committer
robertl
<robertl>
Fri, 1 Oct 2004 03:29:23 +0000
(
03:29
+0000)
xcsv.c
patch
|
blob
|
history
diff --git
a/xcsv.c
b/xcsv.c
index 93aa9ba2197983016700c29d5ebc207115ec1c11..80f2ff58f65b3894569000eebc15d522a5f8549b 100644
(file)
--- a/
xcsv.c
+++ b/
xcsv.c
@@
-495,6
+495,10
@@
xcsv_rd_init(const char *fname)
xcsv_read_style(styleopt);
}
+ if (global_opts.masked_objective & (TRKDATAMASK|RTEDATAMASK)) {
+ warning(MYNAME "attempting to read %s as a track or route. Converting to waypoints.\n", fname);
+ }
+
xcsv_file.xcsvfp = xfopen(fname, "r", MYNAME);
}